package com.example.springbootlearn.testentity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author caiji Mr. Li
 * @date 2020/4/17 17:15
 */
@Data
@Accessors(chain = true)
public class User implements Serializable {
    private Long id;
    /**
     * 租户 ID
     */
    private Long tenantId;

    private String name;

    @TableField(exist = false)
    private String addrName;

    //    @FieldEncrypt(algorithm = Algorithm.RSA)
    private String password;

    private Integer count = 0;
}
